<?php echo $this->render('_rootline') ?>

<h1>Benutzerprofil von <?php echo $this->profile->author ?></h1>

<table border="0" class="profile">
    <tr class="heading">
        <td class="col1" width="120">Avatar</td>
        <td class="col2">Alles &uuml;ber</td>
        <td class="col3"><?php echo $this->profile->author ?></td>
    </tr>
    <tr>
        <td class="col1" rowspan="5">
            <?php if($image = $this->profile->getImage()): ?>
                <?php echo $helper->image($image, 120) ?>
            <?php else: ?>
                <img src="<?php echo $helper->siteRelPath() ?>res/clear.gif" width="120" height="160" alt="" class="no-avatar" />
            <?php endif; ?>
        </td>
        <td class="col2">Dabei seit</td>
        <td class="col3"><?php echo $helper->datetime($this->profile->crdate) ?></td>
    </tr>
    <tr>
        <td class="col2">Letzter Login</td>
        <td class="col3"><?php echo $helper->datetime($this->profile->lastlogin) ?></td>
    </tr>
    <tr>

        <td class="col2">Anzahl Themen</td>
        <td class="col3"><?php echo $this->profile->tx_zboard_topic_count ?></td>
    </tr>
    <tr>

        <td class="col2">Anzahl Antworten</td>
        <td class="col3"><?php echo $this->profile->tx_zboard_reply_count ?></td>
    </tr>
    <tr>

        <td>Beitr&auml;ge insgesamt</td>
        <td><?php echo $this->profile->tx_zboard_topic_count + $this->profile->tx_zboard_reply_count ?></td>
    </tr>
    <?php if($www = $this->profile->getWww()): ?>
        <tr>
            <td class="col1"></td>
            <td class="col2">Website</td>
            <td class="col3"><a target="_blank" href="http://<?php echo $www ?>"><?php echo $www ?></a></td>
        </tr>
    <?php endif; ?>
</table>
